Overload | Description |
---|---|
BeExactly(DateTimeOffset,String,Object[]) | Asserts that the current System.DateTimeOffset is exactly equal to the expected value, including its offset. |
BeExactly(Nullable<DateTimeOffset>,String,Object[]) | Asserts that the current System.DateTimeOffset is exactly equal to the expected value, including its offset. Comparison is performed using System.DateTimeOffset.EqualsExact(System.DateTimeOffset) |
BeExactly(TimeSpan) | Returns a DateTimeOffsetRangeAssertions<TAssertions> object that can be used to assert that the current System.DateTimeOffset differs exactly the specified timeSpan compared to another System.DateTimeOffset. |